


class Enterprise {
  String id; // Unique ID for modify/delete
  String name;
  String registrationNumber;
  String publicAccount;

  Enterprise({
    required this.id,
    required this.name,
    required this.registrationNumber,
    required this.publicAccount,
  });

  // For simplicity, add a copyWith method for modification
  Enterprise copyWith({
    String? name,
    String? registrationNumber,
    String? publicAccount,
  }) {
    return Enterprise(
      id: this.id,
      name: name ?? this.name,
      registrationNumber: registrationNumber ?? this.registrationNumber,
      publicAccount: publicAccount ?? this.publicAccount,
    );
  }
}